Skip to content

feat(ci): attest build provenance#76

Merged
hyperpolymath merged 1 commit into
mainfrom
feat/attest-build-provenance
Jun 25, 2026
Merged

feat(ci): attest build provenance#76
hyperpolymath merged 1 commit into
mainfrom
feat/attest-build-provenance

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

Estate artifact-attestation rollout, mirroring the proven exemplar.

Adds GitHub-native build-provenance attestation to the container-build job in .github/workflows/ci-cd.yml.

What is attested

The pushed container image (${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}). This repo ships only a container — there are no softprops release binaries to attest.

Changes

  • Add id-token: write and attestations: write to the container-build job permissions (alongside existing contents: read, packages: write, security-events: write).
  • Add id: push to the existing Push container image step so its digest is addressable.
  • Append a new Attest container provenance step (pinned actions/attest-build-provenance@e8998f949152b193b063cb0ec769d69d929409be # v2) consuming steps.push.outputs.digest, with push-to-registry: true.

The attestation step is gated if: github.event_name != 'pull_request' — identical to the push step — so it never runs with an empty digest on PRs.

🤖 Generated with Claude Code

Estate artifact-attestation rollout mirroring the proven exemplar.
Attests: container image pushed by container-build job.
@hyperpolymath hyperpolymath merged commit 1810826 into main Jun 25, 2026
9 of 24 checks passed
@hyperpolymath hyperpolymath deleted the feat/attest-build-provenance branch June 25, 2026 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant